package com.fancyy.scm.activity;

import android.content.Intent;
import android.view.View;

import com.fancyy.scm.R;
import com.fancyy.scm.base.BaseActivity;
import com.fancyy.scm.base.annotation.Layout;
import com.fancyy.scm.base.annotation.Translucent;
import com.fancyy.scm.databinding.DishisanyeBinding;

@Translucent
@Layout(R.layout.dishisanye)
public class ReportActivity extends BaseActivity<DishisanyeBinding> {

    public void onBackButtonClick(View view) {
        finish();
    }

    public void onTrackingReportClick(View view) {
        Intent intent = new Intent(this, TrackReportActivity.class);
        intent.putExtra("type", 1);
        startActivity(intent);
    }

    public void onPokayokeReportClick(View view) {
        Intent intent = new Intent(this, TrackReportActivity.class);
        intent.putExtra("type", 2);
        startActivity(intent);
    }

    public  void  onTrayScanReportClick(View view)
    {
        Intent intent = new Intent(this, TrayScanReportActivity.class);
        intent.putExtra("type", 4);
        startActivity(intent);
    }
    public void onCartonToCarClick(View view)
    {
        Intent intent = new Intent(this, CartonToTrayReportActivity.class);
        intent.putExtra("type", 5);
        startActivity(intent);
    }
}